label: Handle crazy corner cases
authorBenjamin Otte <otte@redhat.com>
Mon, 5 Nov 2012 17:55:27 +0000 (18:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 5 Nov 2012 18:34:23 +0000 (19:34 +0100)
commitdebe81b1ea4e7fcc46045629875991311159acdc
tree8a7886dda99f739b34d64f5aa74ec197547efb85
parentcdadbb069f3e7c16baefdc1a8f47ae106a9d386a
label: Handle crazy corner cases

With ellipsizing, the ellipsized text can have a smaller height than the
non-ellipsized text. So the wider text is also higher. Example:
  .<big>TEXT</big>
will ellipsize to the small text.

Reported-By: Rico Tzschichholz <ricotz@t-online.de>
gtk/gtklabel.c